<!-- 首页 -->
<template>
    <div>
        <h1>欢迎来到皮特托先生的小屋</h1>
        <ul>
            <li @click="router.push('/coms')">所有组件</li>
        </ul>
    </div>
</template>
<script setup>
import { onMounted, reactive, ref, toRefs, watch, computed } from 'vue';
import { useRouter } from 'vue-router';
const props = defineProps({});
const state = reactive({});
const router = useRouter();
</script>
<style lang="scss" scoped></style>
